<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">汇付对账</h1>
  </div>
  
  <div class="wrapper-md">
    <div class="panel panel-default">
      <div class="panel-heading">
        汇付多单记录查询
      </div>
      <toaster-container toaster-options="{'position-class': 'toast-center', 'close-button':true}"></toaster-container>
      <div class="panel-body b-b b-light">
        <div class="form-group pull-in clearfix">
          <div class="col-sm-2">
            <label>
              <font>
                <font>汇付客户号:</font>
              </font>
            </label>
            <input type="text" class="form-control ng-pristine ng-untouched ng-invalid ng-invalid-required" ng-model="hfreconciliation.UsrCustId">
          </div>
          <div class="col-sm-2">
            <label>
              <font>
                <font>汇付订单号:</font>
              </font>
            </label>
            <input type="text" class="form-control ng-pristine ng-untouched ng-invalid ng-invalid-required" ng-model="hfreconciliation.HOrdId">
          </div>
        </div>
        <div class="form-group pull-in clearfix" ng-controller="DatepickerDemoCtrl">
          <div class="col-sm-2">
            <label>
              <font>
                <font>开始时间:</font>
              </font>
            </label>
            <p class="input-group">
              <span class="input-group-btn">
                <button type="button" class="btn btn-default" ng-click="open($event)">
                  <i class="glyphicon glyphicon-calendar"></i>
                </button>
              </span>
              <input type="text" class="form-control" datepicker-popup="{{format}}" ng-click="open($event)" ng-model="hfreconciliation.StartTime"
                is-open="opened" max-date="maxDate" datepicker-options="dateOptions" ng-required="true" close-text="Close" />
            </p>
          </div>
          <div class="col-sm-2">
            <label>
              <font>
                <font>结束时间:</font>
              </font>
            </label>
            <p class="input-group">
              <span class="input-group-btn">
                <button type="button" class="btn btn-default" ng-click="open1($event)">
                  <i class="glyphicon glyphicon-calendar"></i>
                </button>
              </span>
              <input type="text" class="form-control" datepicker-popup="{{format}}" ng-click="open1($event)" ng-model="hfreconciliation.EndTime"
                is-open="opened1" max-date="maxDate" datepicker-options="dateOptions" ng-required="true" close-text="Close" />
            </p>
          </div>
          <div class="col-sm-2">
            <label>
              <font>
                <font>处理结果:</font>
              </font>
            </label>
            <select class="form-control ng-pristine ng-untouched ng-invalid ng-invalid-required" ng-model="hfreconciliation.IsSuccess">
              <option value="-1">全部</option>
              <option value="0">待处理</option>
              <option value="1">平账</option>
            </select>
          </div>
          <div class="col-sm-2">
            <label>
              <font>
                <font>对账类型:</font>
              </font>
            </label>
            <select class="form-control ng-pristine ng-untouched ng-invalid ng-invalid-required" ng-model="hfreconciliation.Type">
              <option value="">请选择</option>
              <option value="1">充值</option>
              <option value="2">提现</option>
              <option value="3">放款</option>
              <option value="5">商户扣款</option>
            </select>
          </div>
          <div class="col-sm-2">
            <button class="btn btn-info btn-addon" style="margin-top:25px" ng-if='!graybtn' ng-click="search()">查询</button>
            <button class="btn btn-light btn-addon" style="margin-top:25px" ng-if='graybtn'>查询</button>
          </div>
        </div>
      </div>
      <div class="table-responsive">
        <table id="tab" class="table table-striped m-b-none">
          <thead>
            <tr>
              <th style="min-width: 25px">汇付客户号</th>
              <th style="min-width: 50px">汇付订单号</th>
              <th style="min-width: 50px">汇付交易日期</th>
              <th style="min-width: 80px">汇付交易流水</th>
              <th style="min-width: 50px">汇付交易金额</th>
              <th style="min-width: 50px">商户收取用户手续费</th>
              <th style="min-width: 100px">汇付交易状态</th>
              <th style="min-width: 100px">对账类型</th>
              <th style="min-width: 100px">处理结果</th>
              <th style="min-width: 100px">操作</th>
            </tr>
          </thead>
          <tbody>
            <tr ng-if="reconciliationList==''"><td colspan="9">当前无任何数据</td></tr>
            <tr ng-repeat="obj in reconciliationList">
              <td ng-bind="obj.UsrCustId"></td>
              <td ng-bind="obj.HOrdId"></td>
              <td ng-bind="obj.HOrdDate"></td>
              <td ng-bind="obj.PnrSeqId"></td>
              <td ng-bind="obj.TransAmt"></td>
              <td ng-bind="obj.ServFee"></td>
              <td ng-bind="obj.TransStat"></td>
              <td ng-bind="obj.Type"></td>
              <td ng-bind="obj.IsSuccess?'平账':'待处理'"></td>
              <td><button class="btn m-b-xs btn-sm btn-info" ng-click="modify(obj.ResultId,obj.IsSuccess)">修改处理结果</button></td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
    <div class="btn-group pull-right">
      <button type="button" class="btn btn-default" ng-click="prev()"><font><font>上一页</font></font></button>
      <button type="button" class="btn btn-default btnNum">{{hfreconciliation.Index?hfreconciliation.Index:'1'}}</button>
      <button type="button" class="btn btn-default" ng-click="next()"><font><font>下一页</font></font></button>
      <span class="btn btn-default">共<span ng-bind="(reconciliationListListCount?reconciliationListListCount:'0')+'条数据'"></span></span>
    </div>
  